
#include "s3c2440_soc.h"
#include "uart.h"

int main(void)
{
    unsigned char c;

    uart0_init();
    puts("Hello, world!\n\r");

    while (1)
    {
        c = getchar();
        if ('\r' == c)
        {
            putchar('\n');
        }

        if ('\n' == c)
        {
            putchar('\r');
        }

        putchar(c);
    }

    return 0;
}
